﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PRE
{
    public partial class frmmain : Form
    {
        public frmmain()
        {
            InitializeComponent();
        }

        private void barEditItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {

        }

        private void barEditItem1_ItemClick_1(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {

        }

        private void ribbonControl1_Click(object sender, EventArgs e)
        {

        }

        private void ribbonControl2_Click(object sender, EventArgs e)
        {

        }

        private void bbiquanlyquay_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmquanliquay frm1 =new frmquanliquay();
            frm1.MdiParent = this;
            frm1.Show();
             
        }

        private void bbquanlyban_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmBans FRM2 = new frmBans();
            FRM2.MdiParent = this;
            FRM2.Show();
        }

        private void frmmain_Load(object sender, EventArgs e)
        {

        }

        private void bbithoat_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            this.Close();
        }

        private void bbiQuanLynhanvien_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmnhanvien frmnv = new frmnhanvien();
            frmnv.MdiParent = this;
            frmnv.Show();
        }

        private void bbikhuvuc_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmkhuvuc frmkv = new frmkhuvuc();
            frmkv.MdiParent = this;
            frmkv.Show();

        }

        private void bbiloaimon_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmloaimon frmlm = new frmloaimon();
            frmlm.MdiParent = this;
            frmlm.Show();
        }

        private void bbithucdon_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmthucdon frmtd = new frmthucdon();
            frmtd.MdiParent = this;
            frmtd.Show();

        }
    }
}
